projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2ba7d7
)
Avoid deprecation warning
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 3 Jul 2013 23:52:11 +0000
(19:52 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 3 Jul 2013 23:52:11 +0000
(19:52 -0400)
There was one overlooked use of GTK_STOCK_MISSING_IMAGE.
gtk/gtkiconhelper.c
patch
|
blob
|
history
diff --git
a/gtk/gtkiconhelper.c
b/gtk/gtkiconhelper.c
index 56cb97c38c7181a680934e16bc24894c3e55a64b..0e38073592c63e31854bb725b384817bd2b897a4 100644
(file)
--- a/
gtk/gtkiconhelper.c
+++ b/
gtk/gtkiconhelper.c
@@
-636,10
+636,15
@@
ensure_stated_surface_from_info (GtkIconHelper *self,
if (destination == NULL)
{
GtkIconSet *icon_set;
+
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
+
icon_set = gtk_style_context_lookup_icon_set (context, GTK_STOCK_MISSING_IMAGE);
destination =
gtk_icon_set_render_icon_pixbuf (icon_set, context, self->priv->icon_size);
+
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
else if (!symbolic)
{